package com.lwj.service.configuration;

import com.lwj.dto.configuration.DepartmentRoleMenuDto;
import com.lwj.model.configuration.DepartmentRoleMenu;
import com.lwj.vo.configuration.DepartmentRoleMenuVo;
import com.lwj.vo.system.MenuVo;

import java.util.List;

public interface DepartmentRoleMenuService {
    int deleteByPrimaryKey(String departmentRoleMenuId);

    int insert(DepartmentRoleMenu record);

    int insertSelective(DepartmentRoleMenu record);

    DepartmentRoleMenu selectByPrimaryKey(String departmentRoleMenuId);

    int updateByPrimaryKeySelective(DepartmentRoleMenu record);

    int updateByPrimaryKey(DepartmentRoleMenu record);

    List<DepartmentRoleMenuVo> menuTreeByRoleId(String departmentRoleId);

    void savePermission(DepartmentRoleMenuDto dto);

    void saveList(List<DepartmentRoleMenu> saveList);
}
